package com.hotel.service;

import com.hotel.pojo.User;

import java.util.List;

public interface UserService {
    List<User> getAll();

    int addUser(User user);

    int deleteUserById(Integer id);

    int updateUser(User user);

    User selectUserById(Integer id);

    User selectUserByName(String username);
}
